package cn.bookCity.domain;

import java.util.ArrayList;
import java.util.List;

public class Page {
	
	private int totalpages;
	private int currentIndex;
	private List<Products> allProducts=new ArrayList<>();
	public int getTotalpages() {
		return totalpages;
	}
	public void setTotalpages(int totalpages) {
		this.totalpages = totalpages;
	}
	public int getCurrentIndex() {
		return currentIndex;
	}
	public void setCurrentIndex(int currentIndex) {
		this.currentIndex = currentIndex;
	}
	public List<Products> getAllProducts() {
		return allProducts;
	}
	public void setAllProducts(List<Products> allProducts) {
		this.allProducts = allProducts;
	}
	

}
